import { App } from "vue";
import { registerFormDetailProvider } from "@ibiz-template/runtime";
import FormTabPanel from "./i-biz-form-tab-panel.vue";
import { FormTabPanelProvider } from "./i-biz-form-tab-panel.provider";

export const IBizFormTabPanel = {
  install(v: App) {
    v.component("IBizFormTabPanel", FormTabPanel);
    registerFormDetailProvider("TABPANEL", () => new FormTabPanelProvider());
  },
};

export default IBizFormTabPanel;
